package com.calf.module.common.enumsatate;

public enum SmsEnum {
	
	PHONE_TYPE_IPHON("1","iPhon"),
	PHONE_TYPE_IPAD("2","iPad"),
	PHONE_TYPE_ANDROID("3","Android"),
	PHONE_TYPE_WEIXIN("4","WeiXin"),
	PHONE_TYPE_H5("5","H5");
	
	private String state;
	
	private String code;

	
	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	private SmsEnum(String state, String code) {
		this.state = state;
		this.code = code;
	}

	private static SmsEnum getSmsEnum(SmsEnum smsEnum) {
		for(SmsEnum enum1 : smsEnum.values()){
			enum1.getState();
		}
		return smsEnum;
	}
	
	public static void main(String[] args) {
		System.out.println(getSmsEnum(SmsEnum.PHONE_TYPE_ANDROID));
	}
}
